package com.hebang.stcommunityapp.holders;

import androidx.recyclerview.widget.RecyclerView;

import com.hebang.stcommunityapp.beans.CustomModel;
import com.hebang.stcommunityapp.custom.BaseCustomLiner;

public class BaseCustomHoder extends RecyclerView.ViewHolder{
    BaseCustomLiner binding;

    public BaseCustomHoder(BaseCustomLiner binding) {
        super(binding);
        this.binding = binding;
    }

    public void bind(CustomModel model) {
        binding.setdata(model);
    }

}
